package com.reverie.dto.resp;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class ExportOrderModel {
    @ExcelProperty("订单号")
    @ColumnWidth(20)
    private String orderSn;

    @ExcelProperty("收货人")
    @ColumnWidth(20)
    private String consignee;

    @ExcelProperty("收货人电话")
    @ColumnWidth(20)
    private String tel;

    @ExcelProperty("收货地址")
    @ColumnWidth(40)
    private String conAddress;

    @ExcelProperty("商品")
    @ColumnWidth(30)
    private String goodName;
    @ExcelProperty("规格")
    @ColumnWidth(30)
    private String goodsAttr;
    @ExcelProperty("数量")
    @ColumnWidth(30)
    private Integer goodsNumber;
    @ExcelProperty("商品总金额")
    @ColumnWidth(30)
    private BigDecimal goodsPrice;

    @ExcelProperty("下单时间")
    @ColumnWidth(20)
    private String addTimeText;
    @ExcelProperty("送货时间")
    @ColumnWidth(20)
    private String shippingTime;
    @ExcelProperty("订单金额（元）")
    @ColumnWidth(20)
    private BigDecimal goodsAmount;
    @ExcelProperty("优惠金额（元）")
    @ColumnWidth(20)
    private BigDecimal discount;
    @ExcelProperty("实付金额（元）")
    @ColumnWidth(20)
    private BigDecimal moneyPaid;
    @ExcelProperty("付款渠道")
    @ColumnWidth(20)
    private String payName;
    @ExcelProperty("备注")
    @ColumnWidth(30)
    private String postscript;
    @ExcelProperty("订单状态")
    @ColumnWidth(30)
    private String orderStatusStr;
}
